package com.robotserver.orders.entity;

import java.io.Serializable;

/**
 * 抖音订单
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2023-04-17 11:12:55
 */
public class DyOrders extends BaseEntity  {

	@Override
	protected Serializable pkVal() {
		return this.getId();
	}

	/**
	 * 订单号
	 */
	private String orderId;
	/**
	 * 收货时间
	 */
	private Integer confirmTime;
	/**
	 * 活动页物料ID
	 */
	private String materialId;
	/**
	 * 被分销达人百应ID（仅直播间分销订单拥有）
	 */
	private String authorBuyinId;
	/**
	 * 商品id
	 */
	private String productId;
	/**
	 * 商品名称
	 */
	private String productName;
	/**
	 * 商品图片URL
	 */
	private String productImg;
	/**
	 * 作者账号昵称(抖音/火山作者)（仅直播间分销订单有）
	 */
	private String authorAccount;
	/**
	 * 商家名称
	 */
	private String shopName;
	/**
	 * 订单支付金额，单位元
	 */
	private Double totalPayAmount;
	/**
	 * 订单状态。PAY_SUCC：支付完成； REFUND：退款； SETTLE：结算；CONFIRM：确认收货
	 */
	private String flowPoint;
	/**
	 * 更新时间 [联盟侧订单更新时间]
	 */
	private Integer modifyTime;
	/**
	 * 付款时间
	 */
	private Integer paySuccessTime;
	/**
	 * 结算时间，结算前为空字符串
	 */
	private Integer settleTime;
	/**
	 * 预估参与结算金额,单位元
	 */
	private Double payGoodsAmount;
	/**
	 * 实际参与结算金额，单位元
	 */
	private Double settledGoodsAmount;
	/**
	 * 店铺ID
	 */
	private Long shopId;
	/**
	 * PID
	 */
	private String pid;
	/**
	 * 外部参数
	 */
	private String externalInfo;
	/**
	 * 分销回流类型。live： 直播间分销； ProductDetail：商品分销； Activity： 百补和秒杀推广；Shop：店铺导流
	 */
	private String mediaTypeName;
	/**
	 * 商品数目
	 */
	private Long itemNum;
	/**
	 * 退款订单退款时间
	 */
	private Integer refundTime;
	/**
	 * 预估推广费收入，单位元
	 */
	private Double adsEstimatedCommission;
	/**
	 * 实际推广费收入，单位分
	 */
	private Double adsRealCommission;
	/**
	 * 达人抖音号（仅直播间分销订单有）
	 */
	private String authorShortId;
	/**
	 * 推广费率,单位百分比
	 */
	private Double adsPromotionRate;
	/**
	 * 带货体裁。shop_list：橱窗；video：视频；live：直播；others：其他
	 */
	private String mediaType;
	/**
	 * 活动页推广活动Id，1000-超值购 1001-秒杀;若distribution_type为Mix，则为Mix活动ID
	 */
	private Long adsActivityId;
	/**
	 * 推广技术服务费,单位元
	 */
	private Double adsEstimatedTechServiceFee;
	/**
	 * 直播间分销订单：新老粉
	 */
	private String adsFansType;
	/**
	 * 商品参与的活动id，0: 未参加活动 1: 超值购（活动页单品推广）
	 */
	private String productActivityId;
	/**
	 * 订单状态(0订单付款 1订单结算 2订单失效 3维权退款 4无效订单[未支付等情况])
	 */
	private Integer bizStatus;

	/**
	 * 联盟类型（0-抖客联盟；1-穿山甲联盟）
	 */
	private Integer tokenType;

	/**
	 * 团长活动id
	 */
	private Long activityId;

	/**
	 * 团长机构id
	 */
	private Long institutionId;

	/**
	 * 团长机构名称
	 */
	private String institutionName;

	/**
	 * 抖音联盟id(dy_token表的appid)
	 */
	private String tokenId;

	/**
	 * 
	 */
	private Integer createTime;
	/**
	 * 
	 */
	private Integer updateTime;

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public Integer getConfirmTime() {
		return confirmTime;
	}

	public void setConfirmTime(Integer confirmTime) {
		this.confirmTime = confirmTime;
	}

	public String getMaterialId() {
		return materialId;
	}

	public void setMaterialId(String materialId) {
		this.materialId = materialId;
	}

	public String getAuthorBuyinId() {
		return authorBuyinId;
	}

	public void setAuthorBuyinId(String authorBuyinId) {
		this.authorBuyinId = authorBuyinId;
	}

	public String getProductId() {
		return productId;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getProductImg() {
		return productImg;
	}

	public void setProductImg(String productImg) {
		this.productImg = productImg;
	}

	public String getAuthorAccount() {
		return authorAccount;
	}

	public void setAuthorAccount(String authorAccount) {
		this.authorAccount = authorAccount;
	}

	public String getShopName() {
		return shopName;
	}

	public void setShopName(String shopName) {
		this.shopName = shopName;
	}

	public Double getTotalPayAmount() {
		return totalPayAmount;
	}

	public void setTotalPayAmount(Double totalPayAmount) {
		this.totalPayAmount = totalPayAmount;
	}

	public String getFlowPoint() {
		return flowPoint;
	}

	public void setFlowPoint(String flowPoint) {
		this.flowPoint = flowPoint;
	}

	public Integer getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(Integer modifyTime) {
		this.modifyTime = modifyTime;
	}

	public Integer getPaySuccessTime() {
		return paySuccessTime;
	}

	public void setPaySuccessTime(Integer paySuccessTime) {
		this.paySuccessTime = paySuccessTime;
	}

	public Integer getSettleTime() {
		return settleTime;
	}

	public void setSettleTime(Integer settleTime) {
		this.settleTime = settleTime;
	}

	public Double getPayGoodsAmount() {
		return payGoodsAmount;
	}

	public void setPayGoodsAmount(Double payGoodsAmount) {
		this.payGoodsAmount = payGoodsAmount;
	}

	public Double getSettledGoodsAmount() {
		return settledGoodsAmount;
	}

	public void setSettledGoodsAmount(Double settledGoodsAmount) {
		this.settledGoodsAmount = settledGoodsAmount;
	}

	public Long getShopId() {
		return shopId;
	}

	public void setShopId(Long shopId) {
		this.shopId = shopId;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	public String getExternalInfo() {
		return externalInfo;
	}

	public void setExternalInfo(String externalInfo) {
		this.externalInfo = externalInfo;
	}

	public String getMediaTypeName() {
		return mediaTypeName;
	}

	public void setMediaTypeName(String mediaTypeName) {
		this.mediaTypeName = mediaTypeName;
	}

	public Long getItemNum() {
		return itemNum;
	}

	public void setItemNum(Long itemNum) {
		this.itemNum = itemNum;
	}

	public Integer getRefundTime() {
		return refundTime;
	}

	public void setRefundTime(Integer refundTime) {
		this.refundTime = refundTime;
	}

	public Double getAdsEstimatedCommission() {
		return adsEstimatedCommission;
	}

	public void setAdsEstimatedCommission(Double adsEstimatedCommission) {
		this.adsEstimatedCommission = adsEstimatedCommission;
	}

	public Double getAdsRealCommission() {
		return adsRealCommission;
	}

	public void setAdsRealCommission(Double adsRealCommission) {
		this.adsRealCommission = adsRealCommission;
	}

	public String getAuthorShortId() {
		return authorShortId;
	}

	public void setAuthorShortId(String authorShortId) {
		this.authorShortId = authorShortId;
	}

	public Double getAdsPromotionRate() {
		return adsPromotionRate;
	}

	public void setAdsPromotionRate(Double adsPromotionRate) {
		this.adsPromotionRate = adsPromotionRate;
	}

	public String getMediaType() {
		return mediaType;
	}

	public void setMediaType(String mediaType) {
		this.mediaType = mediaType;
	}

	public Long getAdsActivityId() {
		return adsActivityId;
	}

	public void setAdsActivityId(Long adsActivityId) {
		this.adsActivityId = adsActivityId;
	}

	public Double getAdsEstimatedTechServiceFee() {
		return adsEstimatedTechServiceFee;
	}

	public void setAdsEstimatedTechServiceFee(Double adsEstimatedTechServiceFee) {
		this.adsEstimatedTechServiceFee = adsEstimatedTechServiceFee;
	}

	public String getAdsFansType() {
		return adsFansType;
	}

	public void setAdsFansType(String adsFansType) {
		this.adsFansType = adsFansType;
	}

	public String getProductActivityId() {
		return productActivityId;
	}

	public void setProductActivityId(String productActivityId) {
		this.productActivityId = productActivityId;
	}

	public Integer getBizStatus() {
		return bizStatus;
	}

	public void setBizStatus(Integer bizStatus) {
		this.bizStatus = bizStatus;
	}

	@Override
	public Integer getCreateTime() {
		return createTime;
	}

	@Override
	public void setCreateTime(Integer createTime) {
		this.createTime = createTime;
	}

	@Override
	public Integer getUpdateTime() {
		return updateTime;
	}

	@Override
	public void setUpdateTime(Integer updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getTokenType() {
		return tokenType;
	}

	public void setTokenType(Integer tokenType) {
		this.tokenType = tokenType;
	}

	public Long getActivityId() {
		return activityId;
	}

	public void setActivityId(Long activityId) {
		this.activityId = activityId;
	}

	public Long getInstitutionId() {
		return institutionId;
	}

	public void setInstitutionId(Long institutionId) {
		this.institutionId = institutionId;
	}

	public String getInstitutionName() {
		return institutionName;
	}

	public void setInstitutionName(String institutionName) {
		this.institutionName = institutionName;
	}

	public String getTokenId() {
		return tokenId;
	}

	public void setTokenId(String tokenId) {
		this.tokenId = tokenId;
	}
}
